﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/bug/Bug.master" AutoEventWireup="true"
    CodeFile="ChangeStatusofBug.aspx.cs" Inherits="admin_bug_ChangeStatusofBug" %>
    <%@ MasterType VirtualPath="~/admin/bug/Bug.master" %>
   <%@ Reference VirtualPath="~/admin/Admin.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Changing Status of Bug
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <div class="a-field">
        <label>
            Project Name</label>
        <div class="a-select">
            <asp:DropDownList ID="ddlProjectName" runat="server"
                onselectedindexchanged="ddlProjectName_SelectedIndexChanged"
                AutoPostBack="True">
            </asp:DropDownList>
        </div>
    </div>
    <!-- this is used to display the div of information of bug to be changed status. It will display when the data of server posts back-->
    <div id="changeStatus" class="a-field <asp:Literal ID="ltrchangeStatus" runat="server"></asp:Literal>">
        <label>
            The Status <span class="vtip a-tooltip" title="Change status of project">(?) </span>
        </label>

            <div class="a-select">
                <%--<label class="a-on">
                    On</label>
                <label class="a-off">
                    Off</label>
                <asp:CheckBox ID="CbxChangeStatus" runat="server" AutoPostBack="True"
                    oncheckedchanged="CbxChangeStatus_CheckedChanged" />--%>
                <asp:DropDownList ID="ddlStatus" runat="server">
                </asp:DropDownList>
            </div>

    </div>
    <div class="<asp:Literal ID="ltrDisplay" runat="server"></asp:Literal>">
        <asp:GridView ID="grDisplay" runat="server" BackColor="White"
            BorderColor="#336666" BorderStyle="Dotted" BorderWidth="0px"  CellPadding="4"
            GridLines="Horizontal" Width="800px" AutoGenerateSelectButton="True"
            onselectedindexchanged="grDisplay_SelectedIndexChanged"  >

            <FooterStyle BackColor="White" ForeColor="#333333" />
            <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="White" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F7F7F7" />
            <SortedAscendingHeaderStyle BackColor="#487575" />
            <SortedDescendingCellStyle BackColor="#E5E5E5" />
            <SortedDescendingHeaderStyle BackColor="#275353" />

        </asp:GridView>
    </div>
      <div class="a-field a-buttons <asp:Literal ID="ltrbtn" runat="server"></asp:Literal>">
        <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="a-button" OnClick="btnCreate_Click" />
    </div>
    <!-- txtbox test thu -->
    <div>
        <asp:Literal ID="ltrmessage" runat="server"></asp:Literal>
    </div>

</asp:Content>